<?php

class homeActions extends sfActions {
    
    public function executeIndex(sfWebRequest $request){
        $c = new Criteria();
        $parking_lots = array();
        
        $c->clear();
        $c->add(ParkingLotPeer::ENABLED, 1);
        $parking_lots = ParkingLotPeer::doSelect($c);
        $this->parking_lots = $parking_lots;
    }
    
}